The GUS Programmer's Digest Tuesday, 23 May 1995 Volume 19 : Number 011 Today's Topics: RE: GNU C port of SDK RE: GNU C port of SDK Standard Info: - Meta-info about the GUS can be found at the end of the Digest. - Before you ask a question, please READ THE FAQ. ---------------------------------------------------------------------- From: Chris James Date: Mon, 22 May 1995 17:29:00 -0700 (PDT) Subject: RE: GNU C port of SDK >Is anybody out there.... I ask myself the same question... >Has anyone / does anyone know of a port of the SDK to GNU C ? if so, >where is it? I seem to remember that there is support for Watcom C in the SDK. So if you're into compiling for protected mode it might help (assuming that Watcom support == protected mode). Don't know much about GNU C support other than that... ... If you're out of luck there's the Linux driver source somewhere around (compiled with GCC under Linux) or I've a Dr. Dobbs article on doing DMA in pro. mode. Chris ------------------------------ From: Heikki.Ritola@tietovalta.fi Date: Mon, 22 May 1995 17:21:10 +0300 Subject: RE: GNU C port of SDK >>Is anybody out there.... >I ask myself the same question... Looks there's somebody... >... If you're out of luck there's the Linux driver source somewhere around >(compiled >with GCC under Linux) or I've a Dr. Dobbs article on doing DMA in pro. mode. DMA is also my problem. 'Coz I'm doing MIDI-slave controller now into Winslow. If anybody knows something I'm interested to hear. ___________________________ Heikki.Ritola@tietovalta.fi ------------------------------ End of The GUS Programmer's Digest V19 #11 ****************************************** To post to tomorrow's digest: To (un)subscribe or get help: To contact a human (last resort): FTP Sites Archive Directories --------- ------------------- Main N.American Site: ftp.orst.edu pub/packages/gravis wuarchive.wustl.edu systems/ibmpc/ultrasound Main Asian Site: nctuccca.edu.tw PC/ultrasound Main European Site: src.doc.ic.ac.uk packages/ultrasound Main Australian Site: ftp.mpx.com.au /ultrasound/general /ultrasound/submit South African Site: ftp.sun.ac.za /pub/packages/ultrasound Submissions: archive.epas.utoronto.ca pub/pc/ultrasound/submit Newly Validated Files: archive.epas.utoronto.ca pub/pc/ultrasound Mirrors: garbo.uwasa.fi mirror/ultrasound ftp.st.nepean.uws.edu.au pc/ultrasound ftp.luth.se pub/msdos/ultrasound Gopher Sites Menu directory ------------ -------------- Main Site: src.doc.ic.ac.uk packages/ultrasound WWW Pages --------- Main Site: http://www.xmission.com/~grue/gus.html Main European Site: http://src.doc.ic.ac.uk/packages/ultrasound/ Main Australian Site: http://ftp.mpx.com.au/archive/ultrasound/general/ http://ftp.mpx.com.au/archive/ultrasound/submit/ http://ftp.mpx.com.au/gravis.html Mirrors: http://www.st.nepean.uws.edu.au/pub/pc/ultrasound/ GUS Digest Acrhives: http://gpu.srv.ualberta.ca/~itam/digest.html http://www.student.adelaide.edu.au/~godfathr/gus/gus.html MailServer For Archive Access: Email to From owner-gus-sdk-digest Wed May 24 07:06:10 1995 remote from gaia.ucs.orst.edu Received: by reddwarf.xs4all.nl (AMAIL 0.26) with UUCP id AA12498; Wed, 24 May 1995 18:09:36 GMT+0100 Received: from mail.nws.orst.edu by xs1.xs4all.nl with SMTP id AA03145 (5.67b/IDA-1.5 for ); Wed, 24 May 1995 09:09:14 +0200 Received: from localhost (daemon@localhost) by mail.nws.orst.edu (8.6.9/8.6.6) with SMTP id AAA26928; Wed, 24 May 1995 00:08:09 -0700 X-Authentication-Warning: mail.nws.orst.edu: daemon owned process doing -bs Received: (from daemon@localhost) by mail.nws.orst.edu (8.6.9/8.6.6) id AAA26764; Wed, 24 May 1995 00:06:10 -0700 Date: Wed, 24 May 1995 00:06:10 -0700 Message-Id: <199505240706.AAA26764@mail.nws.orst.edu> From: owner-gus-sdk-digest@mail.nws.orst.edu (The GUS Programmer's Digest) To: gus-sdk-digest@mail.nws.orst.edu Subject: The GUS Programmer's Digest V19 #12 Reply-To: gus-sdk@gaia.ucs.orst.edu Errors-To: owner-gus-sdk-digest@mail.nws.orst.edu Precedence: bulk The GUS Programmer's Digest Wednesday, 24 May 1995 Volume 19 : Number 012 Today's Topics: CD-ROM to Soundcard Standard Info: - Meta-info about the GUS can be found at the end of the Digest. - Before you ask a question, please READ THE FAQ. ---------------------------------------------------------------------- From: Chris James Date: Tue, 23 May 1995 17:15:00 -0700 (PDT) Subject: CD-ROM to Soundcard Hi Anyone any feeling as to whether this might work? Problem: Access time to CD-ROM is relatively slow but transfer rate is fine for doing direct from disk playback. Except, using double-buffered DMA might not work because each chunk read from file has access overhead. This seems too big an overhead at least with the Pro-Audio spectrum driver I'm using (probably 2 or 4 k buffer). I.e. gaps. I might suss it out on my GUS at home. Has anyone successfully done DFD playback at 44.1 kHz (say mono) using longer (>16k) DMA buffers. One silly idea I had was to allocate a whole segment (64k) as DMA buffer. Then use small model file access. With a file read longer than 64k we should wrap around the buffer. _If_ the DMA does keep behind (but not so far that we hear jumps, like aliasing!) the file read then we'd only have to "access" the CD-ROM once! One problem is syncing the DMA at the start of the transfer (you'd have to start it before the start of the file read). But you could init the buffer with zeros so this lack of sync wouldn't be noticed. How near to 300 KB/sec is realisable? Stereo 16-bit 44.1kHz == 172 KB/second. Thats around half, so it looks like the file read would lap the DMA at full speed! What's typical access time? ta Chris James ------------------------------ End of The GUS Programmer's Digest V19 #12 ****************************************** To post to tomorrow's digest: To (un)subscribe or get help: To contact a human (last resort): FTP Sites Archive Directories --------- ------------------- Main N.American Site: ftp.orst.edu pub/packages/gravis wuarchive.wustl.edu systems/ibmpc/ultrasound Main Asian Site: nctuccca.edu.tw PC/ultrasound Main European Site: src.doc.ic.ac.uk packages/ultrasound Main Australian Site: ftp.mpx.com.au /ultrasound/general /ultrasound/submit South African Site: ftp.sun.ac.za /pub/packages/ultrasound Submissions: archive.epas.utoronto.ca pub/pc/ultrasound/submit Newly Validated Files: archive.epas.utoronto.ca pub/pc/ultrasound Mirrors: garbo.uwasa.fi mirror/ultrasound ftp.st.nepean.uws.edu.au pc/ultrasound ftp.luth.se pub/msdos/ultrasound Gopher Sites Menu directory ------------ -------------- Main Site: src.doc.ic.ac.uk packages/ultrasound WWW Pages --------- Main Site: http://www.xmission.com/~grue/gus.html Main European Site: http://src.doc.ic.ac.uk/packages/ultrasound/ Main Australian Site: http://ftp.mpx.com.au/archive/ultrasound/general/ http://ftp.mpx.com.au/archive/ultrasound/submit/ http://ftp.mpx.com.au/gravis.html Mirrors: http://www.st.nepean.uws.edu.au/pub/pc/ultrasound/ GUS Digest Acrhives: http://gpu.srv.ualberta.ca/~itam/digest.html http://www.student.adelaide.edu.au/~godfathr/gus/gus.html MailServer For Archive Access: Email to